<div class="adminPanel">
	<div class="toolboxImg icon-result">Správa výsledkov</div>
	<div class="toolbox">
		<!-- 
		<table class="tooolbox">
			<tr>
				<td>
					
				</td>
			</tr>
		</table>
		 -->
	</div>
	<div class="clear"></div>
</div>
<div class="message"></div>
<?php
echo $this->dialogContainer('dialogContainer',null,array(
		'autoOpen' => false,
		'modal' => true,
		'resizable' => false,
		'height' => 600,
		'width' => 800,
		'hide' => 'puff',
		'show' => 'puff'
	)
);
/*
$search = new Zend_Form_Element_Text('searchStudent');
$search->setAttrib('class','searchStudent');

echo $search;
*/
?>
<div class="ajaxContainer">
	<div class="selectContainer span-5 first">		
			<div class="treeContainer">
				<div class="treeHeader">Študenti</div>				
				<ul class="searchAble">			
					<?php foreach($this->students as $student):?>
						<li>
						<?php echo 
						$this->ajaxLink(
						//linkName
						$student['Prijmeni'] . ' ' . $student['Jmeno'],
						//url 
						$this->url(array('controller' => 'result','action' => 'show-user','format' => 'html')),
						//options
						array(
						'update' => '.dataContainer',
						'dataType' => 'html'
						),
						//params
						array(
							'id' => $student['ID_st']
						)
						);
						?>
						</li>				
					<?php endforeach;?>
				</ul>
		</div>		
			
		
	</div>
	<div class="dataContainer span-18 last">
	</div>
	<div class="clear"></div>
</div>